-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.0.2
-
Code
-
Classes
- CartItem
Total Complexity |
64 |
Dependencies |
3 |
Dependents |
12 |
Total lines |
529 |
Lines of code |
243 |
Logical lines of code |
122 |
Comment lines |
145 |
Methods |
39 |
Properties |
16 |
Methods 39
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
setPrice() |
A |
51 |
8 |
26 |
__construct() |
S |
56 |
3 |
17 |
setPriceNew() |
S |
64 |
4 |
10 |
addAttr() |
S |
62 |
3 |
13 |
removeMark() |
S |
63 |
3 |
11 |
removeAttr() |
S |
63 |
3 |
11 |
calculateNonTemporaryHash() |
S |
58 |
2 |
15 |
areRuleApplied() |
S |
66 |
3 |
8 |
isPriceChanged() |
S |
66 |
3 |
8 |
__clone() |
S |
65 |
2 |
10 |
setMinDiscountRangePrice() |
S |
74 |
2 |
5 |
getMinDiscountRangePrice() |
S |
82 |
1 |
3 |
getHash() |
S |
82 |
1 |
3 |
getMergeHash() |
S |
82 |
1 |
3 |
isHistoryEqualsDiscounts() |
S |
80 |
1 |
3 |
addAddon() |
S |
80 |
1 |
3 |
getMarks() |
S |
82 |
1 |
3 |
setAddons() |
S |
67 |
1 |
8 |
addMark() |
S |
74 |
1 |
5 |
getAddons() |
S |
82 |
1 |
3 |
hasMark() |
S |
79 |
1 |
3 |
getTotalPrice() |
S |
80 |
1 |
3 |
setPos() |
S |
74 |
1 |
5 |
getDiscounts() |
S |
82 |
1 |
3 |
getHistory() |
S |
82 |
1 |
3 |
getPos() |
S |
82 |
1 |
3 |
recalculateMergeHash() |
S |
64 |
1 |
10 |
recalculateHash() |
S |
64 |
1 |
10 |
getAttrs() |
S |
82 |
1 |
3 |
hasAttr() |
S |
79 |
1 |
3 |
getWcItem() |
S |
82 |
1 |
3 |
getOriginalPrice() |
S |
82 |
1 |
3 |
getObjDiscounts() |
S |
82 |
1 |
3 |
getPrice() |
S |
82 |
1 |
3 |
setWeight() |
S |
80 |
1 |
3 |
getWeight() |
S |
82 |
1 |
3 |
setQty() |
S |
80 |
1 |
3 |
getQty() |
S |
82 |
1 |
3 |
getAddonsAmount() |
S |
73 |
1 |
5 |